more info in shell scripts.#27
Conversation
| VERSION=$(pacman -Q PACKAGENAME | awk '{print $2; exit}') # example command to get version of application here | ||
| export ARCH VERSION | ||
| export ARCH | ||
| # Used by sharun to set x86_64 or aarch64 in appimage name |
There was a problem hiding this comment.
do we really need to specify this lol
I don't think anything regarding ARCH and VERSION needs to be changed here btw
|
I think we should put the link to the docs as a comment and only add small comments here when needed. To me, this looks cluttered. |
|
yeah I came to the same idea its to cluttered when I I was overthinking stuff trying to go to sleep(brain needs to shut up when I need sleep), got a different idea, ill post in a bit. |
To help new people find documentation.
|
Ok nuked my old submission with a new way. I made a documentation folder and put all my stuff in there. As people build things they can add examples. Anything that you think people will be like how do i do this, let me go search for 30 minutes to find a answer. Also there is documentation? Been winging it.... |
Looks better than before, will check in more detail sometime later
It's this link: |
| --ffmpeg-mini | ||
| which removes 20 MiB libx265.so dependency, also removes AV1 enconding support (decoding still works). | ||
|
|
||
| --gdk-pixbuf2-mini, --librsvg-mini | ||
| These remove the glycin dependency, ~20 MiB of bloat. (glycin is also super buggy and depends on bwrap which is problematic for running appimages in very old kernels) | ||
|
|
||
| --gtk3-mini | ||
| ?? | ||
|
|
||
| --gtk4-mini | ||
| ?? | ||
|
|
||
| --icu-mini | ||
| Much smaller version of libicudata.so that is less than 3 MIB in size (10x reduction in size). | ||
|
|
||
| --intel-media-driver-mini | ||
| ? | ||
|
|
||
| --kiconthemes-mini | ||
| ? | ||
|
|
||
| --llvm-libs-mini | ||
| smaller version of libLLVM.so which is a 150+ MiB library, this version is reduced down to 99 MiB. | ||
|
|
||
| --llvm-libs-nano | ||
| similar to mini, but with the llvm targets limited (x86_64 or aarch64) + AMDGPU, this reduces the size of the library to less than 70 MiB. Note this will cause issues if application depends on more llvm targets like compilers. | ||
|
|
||
| --mangohud-mini |
There was a problem hiding this comment.
ah ok I think I might have it. common adds mesa which adds opengl/vulkan.
--add-common
icu-mini
opus-mini
libxml2-mini
qt6-base-mini
gtk3-mini
gtk4-mini
gdk-pixbuf2-mini
librsvg-mini
--add-mesa
--add-opengl
mesa-*
--add-vulkan
vulkan-freedreno-*
vulkan-broadcom-*
vulkan-asahi-*
vulkan-powervr-*
vulkan-radeon-*
vulkan-nouveau-*
vulkan-virtio-*
ones with stars have nano versions
Only real extra ones to worry about are these below but had to jump thru hoops to find a list.
"name": "ffmpeg-mini-aarch64.pkg.tar.xz",
"name": "ffmpeg-mini-x86_64.pkg.tar.zst",
"name": "intel-media-driver-mini-x86_64.pkg.tar.zst",
"name": "intel-media-mini-x86_64.pkg.tar.zst",
"name": "kiconthemes-mini-aarch64.pkg.tar.xz",
"name": "kiconthemes-mini-x86_64.pkg.tar.zst",
"name": "libxml2-iculess-aarch64.pkg.tar.xz",
"name": "libxml2-iculess-x86_64.pkg.tar.zst",
"name": "llvm-libs-mini-aarch64.pkg.tar.xz",
"name": "llvm-libs-mini-x86_64.pkg.tar.zst",
"name": "llvm-libs-nano-aarch64.pkg.tar.xz",
"name": "llvm-libs-nano-x86_64.pkg.tar.zst",
"name": "mangohud-mini-aarch64.pkg.tar.xz",
"name": "mangohud-mini-x86_64.pkg.tar.zst",
"name": "mesa-zink-mini-aarch64.pkg.tar.xz",
"name": "mesa-zink-mini-x86_64.pkg.tar.zst",
"name": "qt6-base-iculess-aarch64.pkg.tar.xz",
"name": "qt6-base-iculess-x86_64.pkg.tar.zst",
"name": "vulkan-intel-mini-x86_64.pkg.tar.zst",
"name": "vulkan-intel-nano-x86_64.pkg.tar.zst",
"name": "vulkan-panfrost-mini-aarch64.pkg.tar.xz",
"name": "vulkan-panfrost-nano-aarch64.pkg.tar.xz",
"name": "x265-mini-aarch64.pkg.tar.xz",
"name": "x265-mini-x86_64.pkg.tar.zst",
Below was my line of thought I was working thru, before I found
https://api.github.com/repos/pkgforge-dev/archlinux-pkgs-debloated/releases/latest
See I thought they were because of the documentation, would have had to read into the code itself to know.
https://pkgforge-dev.github.io/Anylinux-AppImages/HOW-TO-MAKE-THESE.html#step-by-step-example
Shows this ....
# Some apps might require these as well
./get-debloated-pkgs.sh --add-common --prefer-nano **ffmpeg-mini** intel-media-driver-mini
https://github.com/pkgforge-dev/archlinux-pkgs-debloated
Has ffmpeg-mini listed with others, why I thought they were valid.
---
Unless I am missing something --add-common ends up using everything, so its more of a on/off switch, only --prefer nano really seems to modify the command.
common adds mesa which adds opengl/vulkan.
---
also ffmpeg-mini does not seem to be hooked up anywhere in the
|
I really don't see this PR going anywhere tbh. I liked the original idea of adding more comments to the scripts, like explaining what |
Changed it so its all sort into its own folder, with information and code examples. Its meant so if someone copies the template and is working locally they have it all in one place instead of spread around in tons of places online. Probably could include all/almost all of... Sense this is new to me, I still trying to figure out how things connect together, and I am trying to document my learning for anyone else who tries later. Need to update the pages with new info I figured out in the thread above. |
Added more information on...
Might have stopped me from fumbling around so much.